package com.itcast.java.product.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 商品评价
 *
 * @author xiaobai
 * @date 2021-06-27 19:31:58
 */
@Data
@ApiModel(value = "PmsSpuCommentEntity对象", description = "商品评价")
public class PmsSpuCommentEntityVO implements Serializable{

        @ApiModelProperty(value = "id")
private Long id;

        @ApiModelProperty(value = "sku_id")
private Long skuId;

        @ApiModelProperty(value = "spu_id")
private Long spuId;

        @ApiModelProperty(value = "商品名字")
private String spuName;

        @ApiModelProperty(value = "会员昵称")
private String memberNickName;

        @ApiModelProperty(value = "星级")
private Boolean star;

        @ApiModelProperty(value = "会员ip")
private String memberIp;

        @ApiModelProperty(value = "创建时间")
private Date createTime;

        @ApiModelProperty(value = "显示状态[0-不显示，1-显示]")
private Boolean showStatus;

        @ApiModelProperty(value = "购买时属性组合")
private String spuAttributes;

        @ApiModelProperty(value = "点赞数")
private Integer likesCount;

        @ApiModelProperty(value = "回复数")
private Integer replyCount;

        @ApiModelProperty(value = "评论图片/视频[json数据；[{type:文件类型,url:资源路径}]]")
private String resources;

        @ApiModelProperty(value = "内容")
private String content;

        @ApiModelProperty(value = "用户头像")
private String memberIcon;

        @ApiModelProperty(value = "评论类型[0 - 对商品的直接评论，1 - 对评论的回复]")
private Integer commentType;
        }